package hoyo.zqy.pet.mapper;

import hoyo.zqy.pet.domain.PetDetail;
import hoyo.zqy.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqy
 * @since 2022-11-11
 */
public interface PetDetailMapper extends BaseMapper<PetDetail> {

    /**
     * 根据petId删除
     * @param id
     */
    void delByPetId(Long id);

    /**
     * 修改
     * @param petDetail
     */
    void updatePetDetail(PetDetail petDetail);

    /**
     * 根据宠物id查询
     * @param id
     * @return
     */
    PetDetail loadByPetId(Long id);
}
